﻿using System.ComponentModel.DataAnnotations;

namespace QBWeb.Models.QuestionFolder
{
    public class SingleChoiceTb
    {
        public int Id { get; set; }

        /// <summary>
        /// 选项ABCD
        /// </summary>
        [Display(Name="选项")]
        public string Options { get; set; }

        /// <summary>
        /// 选项对应的值
        /// </summary>
        [Display(Name="值")]
        public string Value { get; set; }

        /// <summary>
        /// 正确的选项为1，其它为0
        /// </summary>
        [Display(Name="答案")]
        public string CorrectOption { get; set; }

        public QuestTypeTb QuestTypeTb { get; set; }
        /// <summary>
        /// 类型ID
        /// </summary>
        public int QuestTypeTbId { get; set; }

        public QuestionTb QuestionTb { get; set; }
        /// <summary>
        /// 题目ID
        /// </summary>
        public int QuestionTbId { get; set; }
    }
}